from sys import argv
script, filename = argv
txt = open(filename)

print "Here's your file %r:" % filename
print txt.read()

print "type the filename again:"
file_again = raw_input("> ")
txt_again = open(file_again)

#txt_again.write("--- added by write method ---")
print txt_again.read()
txt.close()
txt_again.close()

